home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / make / icmake-6.000 / icmake-6 / icmake / bootstrap next >
Encoding:
Text File  |  1994-02-10  |  967 b   |  49 lines

  1.  
  2. echo "
  3.     This script assumes that the GCC compiler is available, and that
  4.     the function glob() is available in the gcc-runtime library.
  5.     If that's not the case, remove the -DHAVE_GLOB define from the 
  6.     gcc flags.
  7. "                                     
  8.  
  9. echo    Building the runtime-library in ./rss
  10. cd rss
  11. gcc -c -O -DHAVE_GLOB *.c
  12. ar rsv libicrss.a *.o
  13. rm *.o
  14. cd ..
  15.  
  16. echo Creating the target directory ./bin
  17. mkdir -p bin
  18.  
  19. echo Creating icmake
  20. cd make
  21. gcc -O -DHAVE_GLOB -o ../bin/icmake *.c ../rss/libicrss.a
  22.  
  23. echo Creating icm-pp
  24. cd ../pp
  25. gcc -O -DHAVE_GLOB -o ../bin/icm-pp *.c ../rss/libicrss.a
  26.  
  27. echo Creating icm-comp
  28. cd ../comp
  29. gcc -O -DHAVE_GLOB -o ../bin/icm-comp *.c ../rss/libicrss.a
  30.  
  31. echo Creating icm-exec
  32. cd ../exec
  33. gcc -O -DHAVE_GLOB -o ../bin/icm-exec *.c ../rss/libicrss.a
  34. cd ../un
  35.  
  36. echo Creating icmun
  37. gcc -O -DHAVE_GLOB -o ../bin/icmun *.c ../rss/libicrss.a
  38. cd ..  
  39.  
  40. echo Stripping the binaries
  41. cd bin
  42. strip *
  43.  
  44. cd ..
  45.  
  46. echo "
  47.     Done.
  48. "
  49.